home *** CD-ROM | disk | FTP | other *** search
- C- AreaCircle |areacircle|
- C- AreaEllipse |areaellipse|
- C- AreaPolygon |areapolygon|
- C- AreaRectangle |arearectangle|
- C- ClearWindow |clearwindow|
- F- ColorOfPixel |colorofpixel|
- C- DrawCircle |drawcircle|
- C- DrawEllipse |drawellipse|
- C- DrawLine |drawline|
- C- DrawPixel |drawpixel|
- C- DrawPolygon |drawpolygon|
- C- DrawRectangle |drawrectangle|
- C- DrawTo |drawto|
- C- FillToBorder |filltoborder|
- C- FloodFill |floodfill|
- C- GetRGB |getrgb|
- C- LoadBrush |loadbrush|
- C- LoadPicture |loadpicture|
- C- MovePen |movepen|
- V- PenA |pena|
- V- PenB |penb|
- V- PenO |peno|
- C- PrintText |printtext|
- C- RayTo |rayto|
- C- SetPen |setpen|
- C- SetPrintFont |setprintfont|
- C- SetPrintStyle |setprintstyle|
- C- SetRGB |setrgb|
- C- ShowBrush |showbrush|
- C- ShowPicture |showpicture|
- [E]
-
- |areacircle|
- WT AreaCircle {X}, {Y}, {Radius}
- PL Draw a filled Circle at position {X},{Y}
- PL with a radius of {Radius}. The area color
- PT will come from
- BS PenA
- PT , set with the
- BS SetPen
- PL
- PL command.
- PL
- PT SEE ALSO:
- BS DrawCircle
- PT and
- BS AreaEllipse
- PT .
- ED
-
- |areaellipse|
- WT AreaEllipse {X}, {Y}, {XRadius}, {YRadius}
- PL Draw a filled ellipse with its center
- PL at {X},{Y}. The {XRadius} is the horizontal
- PL radius and {YRadius} is the vertical radius.
- PT The area color will come from
- BS PenA
- PL , set
- PT with the
- BS SetPen
- PL command.
- PT SEE ALSO:
- BS DrawEllipse
- PT and
- BS AreaCircle
- PT .
- ED
-
- |areapolygon|
- WT AreaPolygon {X1}, {Y1}, {X2}, {Y2}, {X3}, {Y3} [,up to six points]
- PL This allows you to draw a filled polygon
- PL with 3 to 6 vertices. The first 3 verticies
- PL are required, the other 3 are optional. The
- PT area color will come from
- BS PenA
- PL , set with
- PT the
- BS SetPen
- PL command.
- PT SEE ALSO:
- BS DrawPolygon
- PT .
- ED
-
- |arearectangle|
- WT AreaRectangle {X}, {Y}, {Width}, {Height}
- PL Draw a filled rectangle with upper-left
- PL corner at {X},{Y} and with the given width
- PL of {Width} and height of {Height}. The area
- PT color is
- BS PenA
- PT , set with
- BS SetPen
- PL command.
- PT SEE ALSO:
- BS DrawRectangle
- PT .
- ED
-
- |clearwindow|
- WT ClearWindow [{ColorReg}]
- PL Clears the Window to its initial state.
- PL If it is a picture window the image will
- PL be redisplayed. If it is not a picture
- PL window, then it will be cleared to the
- PL window's background color or to the
- PL optional {ColorReg}.
- ED
-
- |colorofpixel|
- WT {ColorReg}=ColorOfPixel({X}, {Y})
- PL This function returns an integer value
- PL of the color of the pixel at position
- PL {X},{Y} in the current window.
- PL
- PT SEE ALSO:
- BS DrawPixel
- PT .
- ED
-
- |drawcircle|
- WT DrawCircle {X}, {Y}, {Radius}
- PL Draw a hollow Circle at position {X},{Y}
- PL with a radius of {Radius}. The draw color
- PT will come from
- BS PenA
- PT , set with the
- BS SetPen
- PL
- PL command.
- PL
- PT SEE ALSO:
- BS AreaCircle
- PT and
- BS DrawEllipse
- PT .
- ED
-
- |drawellipse|
- WT DrawEllipse {X}, {Y}, {XRadius}, {YRadius}
- PL Draw a hollow ellipse with its center
- PL at {X},{Y}. The {XRadius} is the horizontal
- PL radius and {YRadius} is the vertical radius.
- PT The draw color will come from
- BS PenA
- PL , set
- PT with the
- BS SetPen
- PL command.
- PT SEE ALSO:
- BS AreaEllipse
- PT and
- BS DrawCircle
- PT .
- ED
-
- |drawline|
- WT DrawLine {X1}, {Y1}, {X2}, {Y2}
- PL Draw a line from {X1},{Y1} to {X2},{Y2}.
- PL
- PT SEE ALSO:
- BS DrawTo
- PT and
- BS MovePen
- PT .
- ED
-
- |drawpixel|
- WT DrawPixel {X}, {Y}
- PL Draws a single pixel at {X},{Y}. This pixel
- PT pixel is drawn with the color in
- BS PenA
- PL ,
- PT which is set with the
- BS SetPen
- PL command.
- PL
- PT SEE ALSO:
- BS MovePen
- PT and
- BS ColorOfPixel
- PT .
- ED
-
- |drawpolygon|
- WT DrawPolygon {X1}, {Y1}, {X2}, {Y2}, {X3}, {Y3} [,up to six points]
- PL This allows you to draw a hollow polygon
- PL with 3 to 6 vertices. The first 3 verticies
- PL are required, the other 3 are optional. The
- PT draw color will come from
- BS PenA
- PL , set with
- PT the
- BS SetPen
- PL command.
- PT SEE ALSO:
- BS AreaPolygon
- PT .
- ED
-
- |drawrectangle|
- WT DrawRectangle {X}, {Y}, {Width}, {Height}
- PL Draw a hollow rectangle with upper-left
- PL corner at {X},{Y} and with the given width
- PL of {Width} and height of {Height}. The draw
- PT color is
- BS PenA
- PT , set with the
- BS SetPen
- PL command.
- PT SEE ALSO:
- BS AreaRectangle
- PT .
- ED
-
- |drawto|
- WT DrawTo {X}, {Y}
- PL Draws a line from the current pen position
- PL to {X},{Y}. The current pen position
- PL then becomes {X},{Y}.
- PL
- PT SEE ALSO:
- BS RayTo
- PT ,
- BS MovePen
- PT and
- BS DrawLine
- PT .
- ED
-
- |filltoborder|
- WT FillToBorder {X}, {Y}, {ColorReg}
- PL Fill a shape starting at {X},{Y} and all
- PL the area outlined by {ColorReg}. It
- PT fills with
- BS PenA
- PL .
- PL
- PT SEE ALSO:
- BS FloodFill
- PT and
- BS SetPen
- PT .
- ED
-
- |floodfill|
- WT FloodFill {X}, {Y}
- PL Fill a solid shape starting at {X},{Y}
- PT with color
- BS PenA
- PL . The shape is determined
- PL by the color at {X},{Y}.
- PL
- PT SEE ALSO:
- BS FillToBorder
- PT and
- BS SetPen
- PT .
- ED
-
- |getrgb|
- WT GetRGB {ColorReg}, <RedVar>, <GreenVar>, <BlueVar>
- PL Assign the red, green, and blue components
- PL of color register {ColorReg} to the three
- PL given variables.
- PL
- PT SEE ALSO:
- BS SetRGB
- PT and
- BS SetPen
- PT .
- ED
-
- |loadbrush|
- WT LoadBrush {FilePath} [,{BrushBufferName} [,<loadflags>]]
- PL Preload a DeluxePaint style Brush.
- PL See the manual for a full description
- PL of this command.
- PL
- PT SEE ALSO:
- BS ShowBrush
- PT and
- BS SaveBrush
- PT .
- ED
-
- |loadpicture|
- WT LoadPicture {FilePath} [,{PictureBufferName} [,<loadflags>]]
- PL Preload a DeluxePaint style Picture.
- PL See the manual for a full description
- PL of this command.
- PL
- PT SEE ALSO:
- BS ShowPicture
- PT and
- BS SavePicture
- PT .
- ED
-
- |movepen|
- WT MovePen {X}, {Y}
- PL Move the current pen position to {X},{Y}
- PL without drawing.
- PL
- PT SEE ALSO:
- BS DrawTo
- PT and
- BS RayTo
- PT .
- ED
-
- |pena|
- WT {ColorReg}=PenA
- PL This returns the current color register
- PL associated with PenA. This is normally
- PL used as the drawing pen.
- PL
- PT SEE ALSO:
- BS SetPen
- PT ,
- BS PenB
- PT and
- BS PenO
- PT .
- ED
-
- |penb|
- WT {ColorReg}=PenB
- PL This returns the current color register
- PL associated with PenB. This is used as an
- PL extra color pen by some graphic operations.
- PL
- PT SEE ALSO:
- BS SetPen
- PT ,
- BS PenA
- PT and
- BS PenO
- PT .
- ED
-
- |peno|
- WT {ColorReg}=PenO
- PL This returns the current color register
- PL associated with PenO. This is used as the
- PL outline pen by some graphic operations.
- PL
- PT SEE ALSO:
- BS SetPen
- PT ,
- BS SetAreaMode
- PL ,
- PT
- BS PenA
- PT and
- BS PenB
- PT .
- ED
-
- |printtext|
- WT PrintText {String}, {X}, {Y}
- PL Prints the {String} using the current pen
- PL colors, print style, and font at {X},{Y}.
- PL
- PL SEE ALSO:
- BS SetPrintStyle
- PT ,
- BS SetPrintFont
- PT and
- BS SetPen
- PT .
- ED
-
- |rayto|
- WT RayTo {X}, {Y}
- PL Draws a line from the current pen position
- PT to {X},{Y} but unlike the
- BS DrawTo
- PL command
- PL this command leaves the pen position where
- PL it was.
- PL
- PT SEE ALSO:
- BS MovePen
- PT and
- BS DrawLine
- PT .
- ED
-
- |setpen|
- WT SetPen {PenAColorReg} [,{PenBColorReg} [,{PenOColorReg}]]
- PL This command sets which color register is
- PT used by each of the three pens.
- BS PenA
- PL must
- PT be set, while
- BS PenB
- PT and
- BS PenO
- PL are optional.
- PL
- PT SEE ALSO:
- BS SetDrawMode
- PT and
- BS SetRGB
- PT .
- ED
-
- |setprintfont|
- WT SetPrintFont {FontName}, {PointSize}
- PL Set the print font to the font with
- PL the given name, and request the given
- PL point size. Under 1.3, If the font does
- PL not have that point size, the next smallest
- PL size will be used.
- PT SEE ALSO:
- BS SetPrintStyle
- PT and
- BS PrintText
- PT .
- ED
-
- |setprintstyle|
- WT SetPrintStyle <styleflags> [,{ExtraPen1} [,{ExtraPen2}]]
- PL This command sets up the print style for
- PT the
- BS PrintText
- PL command. See the manual
- PL for a full description of this command.
- PL
- PT SEE ALSO:
- BS SetPrintFont
- PT .
- ED
-
- |setrgb|
- WT SetRGB {ColorReg}, {RedValue}, {GreenValue}, {BlueValue}
- PL Assigns to color register {ColorReg} the
- PL red, green and blue values given. These
- PL values range from 0 to 255.
- PL
- PT SEE ALSO:
- BS GetRGB
- PT .
- ED
-
- |showbrush|
- WT ShowBrush {BrushBufferName}, {X}, {Y} [,<paletteflags> [,{MinTermValue}]]
- PL Display the brush at the {X},{Y}
- PL coordinates. If the brush is not loaded
- PL then CanDo will try to autoload it.
- PL See the manual for a full description
- PL of this command.
- PT SEE ALSO:
- BS LoadBrush
- PT and
- BS Transparent
- PT .
- ED
-
- |showpicture|
- WT ShowPicture {PictureBufferName}
- PL This will show the specified picture buffer
- PL If the picture is not loaded then CanDo
- PL will try to autoload it. See the manual
- PL for a full description of this command.
- PT SEE ALSO:
- BS LoadPicture
- PT and
- BS SavePicture
- PT .
- ED
-